package cn.iocoder.yudao.module.shop.enums;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;

public interface ErrorCodeConstants {

    ErrorCode ORDER_NOT_EXISTS = new ErrorCode(0_001_001, "订单不存在");

    ErrorCode ORDER_CANCEL_HAD_PAY = new ErrorCode(0_001_002, "订单已经支付，不能取消");

    ErrorCode ORDER_CHECK_FINAL_PRICE = new ErrorCode(0_001_003, "打折订单，必须设置打折价格");

    ErrorCode ORDER_HAD_PAY = new ErrorCode(0_001_004, "订单已经核销");

    ErrorCode ORDER_CHECK_CHARGE_TYPE_ERROR = new ErrorCode(0_001_005, "订单支付方式错误");

    ErrorCode ORDER_CHECK_TIMES_NOT_ENOUGH = new ErrorCode(0_001_006, "剩余次数不足");

    ErrorCode ORDER_CHECK_TIMES_ERROR= new ErrorCode(0_001_007, "次数核销参数错误");

    ErrorCode ORDER_FIND_MEMBER_ERROR = new ErrorCode(0_001_010, "创建订单失败：会员没有找到");

    ErrorCode ORDER_FIND_ITEM_ERROR = new ErrorCode(0_001_011, "创建订单失败：跨店项目没有指定");

    ErrorCode ORDER_FIND_ITEM_ERROR2 = new ErrorCode(0_001_012, "创建订单失败：跨店项目没有找到");

    ErrorCode ORDER_CHECK_NOT_FOUND_MEMBER = new ErrorCode(0_001_013, "核销订单失败:没有找到会员信息");

    ErrorCode ORDER_CHECK_NOT_FOUND_MASTER = new ErrorCode(0_001_014, "核销订单失败:没有找到艾灸师信息");

    ErrorCode ORDER_CHECK_NOT_FOUND_SOURCE_TENANT = new ErrorCode(0_001_015, "核销订单失败:没有找到源店铺信息");

    ErrorCode ORDER_CHECK_NOT_FOUND_TARGET_TENANT = new ErrorCode(0_001_020, "核销订单失败:没有找到目标店铺信息");

    ErrorCode ORDER_NOT_PAY = new ErrorCode(0_001_021, "订单没有核销，不能回退");

    ErrorCode ORDER_ROLLBACK_NOT_FIND_ITEM = new ErrorCode(0_001_022, "订单退回，没有找到项目");

    ErrorCode ORDER_LIMIT_COUNT = new ErrorCode(0_001_023, "预约失败，项目限制预约次数");

    ErrorCode ITEM_NOT_EXISTS = new ErrorCode(0_002_001, "项目不存在");

    ErrorCode ITEM_CREATE_CONSUME_ERROR = new ErrorCode(0_002_002, "库存消耗参数错误");

    ErrorCode PAY_TYPE_NOT_EXISTS = new ErrorCode(0_003_003, "支付方式不存在");

    ErrorCode STORE_NOT_EXISTS = new ErrorCode(0_004_004, "库存id不存在");

    ErrorCode STORE_NUM_ERROR = new ErrorCode(0_004_005, "出入库参数不能为负数");

    ErrorCode STORE_CODE_EXISTS = new ErrorCode(0_004_006, "库存条码已经存在");

    ErrorCode MEMBER_PAY_NOT_EXISTS = new ErrorCode(0_005_001, "不存在会员价格");

    ErrorCode MEMBER_PAY_ITEM_NOT_EXISTS = new ErrorCode(0_005_002, "不存在会员记录项");

    ErrorCode MEMBER_PAY_ITEM_HAD_EXISTS = new ErrorCode(0_005_003, "会员已经存在价格记录");

    ErrorCode MEMBER_PAY_ITEM_NOT_SET = new ErrorCode(0_005_004, "会员没有设置价格");

    ErrorCode CONSUME_ITEM_NOT_EXISTS = new ErrorCode(0_006_001, "项目消耗项不存在");

    ErrorCode MEMBER_CREATE_ERROR = new ErrorCode(0_007_000, "创建会员失败，系统错误");

    ErrorCode MEMBER_CREATE_MEMBER_NOT_EXISTS = new ErrorCode(0_007_001, "对应手机号，没有找到会员账号");

    ErrorCode MEMBER_NOT_EXISTS = new ErrorCode(0_007_101, "没有找到会员id");

    ErrorCode MEMBER_HAS_REGISTER = new ErrorCode(0_007_002, "手机号已经被注册");

    ErrorCode MEMBER_HAS_NICKNAME = new ErrorCode(0_007_012, "存在同名用户");


    ErrorCode PRICE_ITEM_NOT_EXISTS = new ErrorCode(0_007_100, "单项价格不存在");

    ErrorCode PRICE_NOT_EXISTS = new ErrorCode(0_007_101, "店内价格套餐不存在");

    ErrorCode PRICE_INVALID = new ErrorCode(0_007_102, "单项价格不能小于0");

    ErrorCode ITEM_PRICE_NOT_EQUAL = new ErrorCode(0_007_103, "项目和价格数量不相等");


    ErrorCode PRICE_PACKAGE_NOT_EXISTS = new ErrorCode(0_007_201, "支付套餐不存在");

    ErrorCode MEMBER_NOT_PRICE = new ErrorCode(0_007_300, "会员没有设置价格套餐");

    ErrorCode PRICE_ITEM_NOT_SETTING = new ErrorCode(0_007_301 ,"项目价格没有设置");

    ErrorCode ACCOUNT_RECORD_NOT_EXISTS = new ErrorCode(0_007_401, "收支记录不存在");

    ErrorCode ACCOUNT_RECORD_FIXED_TYPE_ERROR = new ErrorCode(0_007_402, "固定类型不存在");

    ErrorCode ACCOUNT_RECORD_PARAM_PAYTIME = new ErrorCode(0_007_403, "支付时间不能为空");

    ErrorCode ACCOUNT_RECORD_PARAM_PICURL = new ErrorCode(0_007_404, "支付凭证不能为空");

    ErrorCode MEMBER_HEALTH_NOT_EXISTS = new ErrorCode(0_007_500, "健康记录不存在");

    ErrorCode MEMBER_HEALTH_HAD_EXISTS = new ErrorCode(0_007_501, "该顾客健康档案已经创建");


    ErrorCode GIFT_CARD_NOT_EXISTS = new ErrorCode(0_001_100, "礼品卡不存在");

    ErrorCode GIFT_CARD_HAD_ACTIVATED = new ErrorCode(0_001_101, "礼品卡已经被激活");

    ErrorCode GIFT_CARD_BIND_CODE = new ErrorCode(0_001_102, "绑定礼品卡验证码不能为空");

    ErrorCode GIFT_CARD_BIND_GOODS = new ErrorCode(0_001_103, "物品礼品卡请直接领取");

    ErrorCode GIFT_CARD_HAD_BINDED = new ErrorCode(0_001_104, "礼品卡已经被绑定");

    ErrorCode GIFT_CARD_NOT_ACTIVATED = new ErrorCode(0_001_105, "礼品卡没有被激活");

    ErrorCode GIFT_CARD_BIND_ERROR = new ErrorCode(0_001_106, "您已经是会员，不能当定次数礼品卡");

    ErrorCode GIFT_CARD_PWD_ERROR = new ErrorCode(0_001_107, "礼品卡密码不正确");

    ErrorCode GIFT_CARD_ID_EXISTS = new ErrorCode(0_010_107, "该卡号已经被使用");

    ErrorCode GIFT_ITEM_NOT_EXISTS = new ErrorCode(0_001_200, "礼品项不存在");

    ErrorCode GIFT_CARD_RECORD_NOT_EXISTS = new ErrorCode(0_001_300, "礼品卡绑定记录不存在");

    ErrorCode ITEM_TIMES_NOT_EXISTS = new ErrorCode(0_001_400, "店内项目次数不存在");

    ErrorCode ITEM_TIMES_NOT_ENOUGH = new ErrorCode(0_001_401, "核销项目失败，次数不足");

    ErrorCode ITEM_TIMES_RECORD_NOT_EXISTS = new ErrorCode(0_001_500, "项目次数变化记录不存在");

    ErrorCode DAY_STATISTICS_NOT_EXISTS = new ErrorCode(0_100_001, "每日手工费统计不存在");

    ErrorCode DAY_STATISTICS_CREATE_ERROR = new ErrorCode(0_100_002, "系统错误，创建记录失败");

    ErrorCode DAY_STATISTICS_FIRST_CHARGE_ERROR_ORDER = new ErrorCode(0_100_003, "存在历史消耗订单，请联系小曹处理");

    ErrorCode DAY_STATISTICS_FIRST_CHARGE_ERROR_CHARGE = new ErrorCode(0_100_003, "存在历史充值订单，请联系小曹处理");

    ErrorCode DAY_USER_NOT_EXISTS = new ErrorCode(0_101_001, "艾灸师每日统计不存在");

    ErrorCode DAY_USER_CREATE_ERROR = new ErrorCode(0_101_002, "系统错误，创建记录失败");

    ErrorCode HANDLE_STRATEGY_NOT_EXISTS = new ErrorCode(0_102_001, "手工费结算策略不存在");

    ErrorCode MONTH_MEMBER_NOT_EXISTS = new ErrorCode(0_103_001, "顾客每月到店统计不存在");

    ErrorCode USER_HOLIDAY_NOT_EXISTS = new ErrorCode(1_104_001, "艾灸师请假不存在");

    ErrorCode USER_HOLIDAY_USER_NOT_EXISTS = new ErrorCode(1_104_002, "请假的艾灸师不存在");

    ErrorCode USER_HOLIDAY_EXISTS_SAME_TIME = new ErrorCode(1_104_003, "艾灸是在当天已经请假");

    ErrorCode STORE_RECORD_NOT_EXISTS = new ErrorCode(1_105_001, "库存消耗记录不存在");

    ErrorCode HANDLE_STRATEGY_USER_NOT_EXISTS = new ErrorCode(1_106_001, "艾灸师绑定的工资策略不存在");

    ErrorCode HANDLE_STRATEGY_USER_HAD_EXISTS = new ErrorCode(1_106_002, "该灸师已绑定工资策略");

    ErrorCode HANDLE_STRATEGY_USER_NOT_BINDED = new ErrorCode(1_106_003, "艾灸师没有绑定工资策略");

    ErrorCode MANAGER_NOT_EXISTS = new ErrorCode(1_107_004, "店铺管理员不存在");

    ErrorCode MANAGER_HAD_EXISTS = new ErrorCode(1_107_005, "店铺管理员已经存在");

    ErrorCode MANAGER_NOT_FIND_USER = new ErrorCode(1_107_006, "没有找到对应user数据");

    ErrorCode ITEM_TIMES_RECHARGE_NOT_EXISTS = new ErrorCode(1_108_001, "项目次数充值不存在");

    ErrorCode ORDER_FEEDBACK_NOT_EXISTS = new ErrorCode(1_109_001, "顾客订单反馈不存在");

    ErrorCode ORDER_FEEDBACK_NOT_FIND_MEMBER = new ErrorCode(1_109_002, "订单反馈没有找到会员");

    ErrorCode ORDER_FEEDBACK_NOT_FIND_MASTER = new ErrorCode(1_109_003, "订单反馈没有找到灸师");

    ErrorCode ORDER_FEEDBACK_NOT_FIND_TENANT = new ErrorCode(1_109_003, "订单反馈没有找到店铺信息");

    ErrorCode ORDER_FEEDBACK_NOT_FIND_SHOP_ITEM = new ErrorCode(1_109_003, "订单反馈没有找到店铺项目");

    ErrorCode MASTER_STATISTICS_NOT_EXISTS = new ErrorCode(1_110_001, "艾灸师统计不存在");
    ErrorCode MASTER_STATISTICS_NOT_FIND_MASTER = new ErrorCode(1_110_002, "艾灸师统计没有找到艾灸师");

    ErrorCode CROSS_TENANT_NOT_EXISTS = new ErrorCode(1_111_001, "跨店铺不存在");

    ErrorCode CROSS_ORDER_NOT_EXISTS = new ErrorCode(1_112_001, "跨店铺不存在");

    ErrorCode CROSS_ORDER_CONFIRM_ERROR = new ErrorCode(1_112_001, "跨店订单：接收方才能确认");

    ErrorCode CROSS_PRICE_ITEM_NOT_EXISTS = new ErrorCode(1_113_001, "跨店铺项目对应不存在");

    ErrorCode CROSS_PRICE_ITEM_PARAM_ERROR = new ErrorCode(1_113_002, "参数错误");

    ErrorCode JIU_CASE_NOT_EXISTS = new ErrorCode(1_114_001, "店铺灸法案例不存在");

    ErrorCode JIU_CASE_CREATE_ERROR_ORDER = new ErrorCode(1_114_001, "创建案例失败：订单不存在");

    ErrorCode JIU_CASE_CREATE_ERROR_MEMBER = new ErrorCode(1_114_001, "创建案例失败：会员数据不存在");

    ErrorCode JIU_CASE_CREATE_ERROR_MASTER = new ErrorCode(1_114_001, "创建案例失败：艾灸师数据不存在");

    ErrorCode JIU_CASE_CREATE_ERROR_TENANT = new ErrorCode(1_114_001, "创建案例失败：店铺数据不存在");

    ErrorCode ITEM_COUNT_NOT_EXISTS = new ErrorCode(1_115_001, "项目计数不存在");

    ErrorCode REFUND_CARD_RECORD_NOT_EXISTS = new ErrorCode(1_116_001, "退卡记录不存在");

    ErrorCode VARIABLE_NOT_EXISTS = new ErrorCode(1_117_001, "零散变量不存在");
}
